package com.salt.modules.flow.hystrix;

import com.salt.modules.flow.feign.BusinessFlowClient;
import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Description 区域（流程控制中心）远程调用失败处理类
 * @Author salt
 * @Date 2021/11/25
 * @Version 1.0.1
 */
@Slf4j
@Component
public class BusinessFlowClientHystrix implements FallbackFactory<BusinessFlowClient> {
    @Override
    public BusinessFlowClient create(Throwable throwable) {
        return null;
    }
}
